package com.restaurant.application.root;

import com.nebutown.description.UnitDescription;

public class RootDesc extends UnitDescription {

    public static void main(String[] args) {

        UnitDescription desc = UnitDescription.basicUnit(Root.class, "RootData");

        desc.nextBean("RootData")
                .add("clientType", String.class)
        ;
        desc.nextBean("RootPageData")
                .add("id", String.class)
        ;
        desc
                .addUiFactory("root", "RootPageData", SUBS.WITHLIST)
        ;
        desc.run("./");
    }
}
